package com.guofen.service.user;

import com.guofen.pojo.User;

import java.util.Map;

public interface UserService {
    public User login(String name, String password);
    public Map<String, Object> get(String name, int pageSize, int currentPage);
    public boolean add(User user);
    public boolean delete(int id);
    public boolean update(User user);
}
